package com.eqdd.yiqidian.ui.mine.renwu;

import android.databinding.DataBindingUtil;
import android.view.View;

import com.eqdd.yiqidian.R;
import com.eqdd.yiqidian.TextActivityCustom;
import com.eqdd.yiqidian.base.BaseActivity;
import com.eqdd.yiqidian.base.Config;

public class TextActivity extends BaseActivity {
    private TextActivityCustom dataBinding;

    @Override
    public void initBinding() {
        dataBinding = DataBindingUtil.setContentView(this, R.layout.activity_text);
    }

    @Override
    public void initData() {
        String content = getIntent().getStringExtra(Config.CONTENT);
        String title = getIntent().getStringExtra(Config.TITLE);
        initTopTitleBar(View.VISIBLE, title);
        dataBinding.tvContent.setText(content);
    }

    @Override
    public void setView() {

    }

    @Override
    public void onClick(View v) {
        super.onClick(v);
        switch (v.getId()) {

        }
    }
}
